import VueRouter from 'vue-router'

import Vue from 'vue'

import Find from '@/views/Find.vue'
import My from '../views/My.vue'
import Friend from '../views/Friend.vue'
Vue.use(VueRouter)

const router = new VueRouter({
  routes: [
    { path: '/find', component: Find },
    { path: '/my', component:  My},
    { path: '/friend', component: Friend }
  ],
  linkActiveClass:'active',
})

export default router